Three-terminal operational amplifier/comparator with offset compensation

ABSTRACT

An operational amplifier has one noninverting input lead (116), and two inverting input leads (117a, 117b). One of these inverting input leads (117a) is utilized to compensate for the effects of the inherent offset voltage (V off ) of the operational amplifier, and the second inverting input lead (117b) receives an input signal to be amplified or compared.

BACKGROUND OF THE INVENTION

1. Field of the Invention

This invention relates to operational amplifiers, and more specifically to a unique operational amplifier having three input terminals, allowing for cancellation of the inherent offset voltage of the operational amplifier while providing an inverting and a noninverting input lead for receiving two non-sampled input signals.

2. Description of the Prior Art

Prior art operational amplifiers are well-known. In the manufacture of operational amplifiers in the form of integrated circuits, fabrication tolerances result in component mismatches, thus providing each operational amplifier with its own unique inherent offset voltage V_(off). This offset voltage is defined as the output voltage of the operational amplifier when the amplifier is in the unity gain mode (inverting input lead and output lead connected) and its noninverting input lead grounded. Because each operational amplifier has its own unique offset voltage, each circuit utilizing such an operational amplifier must compensate in a unique manner for the inherent offset voltage associated with that specific operational amplifier.

Several prior art methods of providing compensation for the inherent offset voltage of an operational amplifier are known. However, such methods require that the offset voltage be stored on an offset capacitor connected to the inverting input lead of the operational amplifier, thus preventing the inverting input lead from being utilized as an input lead for receiving a continuous, non-sampled input signal. Such prior art methods allow the inverting input lead to be utilized for receiving an input signal only if the input signal is sampled and stored on an input capacitor, and the input capacitor is then connected to the inverting input lead of the operational amplifier. In this manner, the offset voltage stored on the offset capacitor is prevented from being discharged. Such a method and structure are disclosed in my copending U.S. patent application Ser. No. 185,356 filed Sept. 8, 1980 and assigned to American Microsystems, Inc., the assignee of this application, which is hereby incorporated by reference.

SUMMARY

In accordance with this invention a unique configuration of an operational amplifier circuit is provided. The operational amplifier constructed in accordance with this invention has three or more input leads, rather than the two input leads of prior art devices. One embodiment of this invention has one noninverting input lead and two inverting input leads. One of these inverting input leads is utilized in compensating for the effects of the inherent offset voltage of the operational amplifier, and the second inverting input lead is utilized for receiving a non-sampled input signal. In contrast to the requirements of prior art circuits, this input signal is not required to be sampled and stored on a capacitor prior to being input to the operational amplifier.

BRIEF DESCRIPTION OF THE DRAWINGS

FIG. 1 is a schematic diagram of a typical prior art operational amplifier;

FIG. 2 is a schematic diagram of the operational amplifier of this invention; and

FIG. 3 is a schematic diagram showing one use of the operational amplifier of this invention in a voltage reference circuit.

DETAILED DESCRIPTION

FIG. 1 is a schematic diagram of a typical prior art operational amplifier differential input stage 10 utilizing N channel MOS transistors. MOS transistor 18 is utilized as a constant current source, with its gate lead 19 connected to a bias voltage V_(BB). Source lead 20 of transistor 18 is connected to a negative supply voltage V_(SS). Lead 11 of operational amplifier 10 is connected to a positive supply voltage V_(DD). MOS transistors 12 and 13 act as loads in the inverting input leg and the noninverting input leg of operational amplifier differential input stage 10, respectively. MOS transistor 14 serves as the noninverting input transistor, having its gate lead 16 acting as the noninverting input lead of operational amplifier differential input stage 10. Similarly, MOS transistor 15 serves as the inverting input transistor, with its gate lead 17 acting as the inverting input lead of operational amplifier differential input stage 10. Lead 25 supplies an output voltage to an inverting output stage (not shown) of the operational amplifier. When the voltage applied to noninverting input lead 16 is positive with respect to the voltage applied to inverting input lead 17, an increased amount of the limited current available from constant current source 18 flows through transistor 14 of the noninverting leg of operational amplifier 10. This decreases the amount of current flowing through transistor 15 in the inverting leg of operational amplifier 10. Thus the output voltage available on lead 25 decreases. Conversely, when the voltage applied to noninverting input lead 16 is negative with respect to the voltage applied to inverting input lead 17, the current flowing through transistor 14 is decreased, with a resultant increase in the current flowing through transistor 15, thus increasing the voltage available on lead 25. Lead 25 is commonly connected to a buffer stage, or an output stage capable of providing relatively high gain and high output currents.

As described in the co-pending U.S. patent application cited above, prior art operational amplifiers utilizing offset compensation means possess an inverting input lead not capable of being used to receive a non-sampled input voltage. In accordance with this invention, an operational amplifier differential input stage is shown in the schematic diagram of FIG. 2 which overcomes this problem of prior art circuits by providing two inverting input leads. The noninverting input leg of operational amplifier differential input stage 110 comprises transistor 113, serving as a load, and transistors 114a and 114b, serving as noninverting input transistors, whose gates each serve as a noninverting input lead and which, in the embodiment shown in FIG. 2, are connected in common to noninverting input lead 116. The inverting input leg of operational amplifier 110 comprises transistor 112, serving as a load, and inverting input transistor 115a, whose gate lead 117a serves as a first inverting input lead (-1), and transistor 115b, whose gate lead 117b serves as a second inverting input lead (-2). Transistor 118 serves as a constant current source, with its gate lead 119 connected to bias voltage V_(BB), and its source lead 120 connected to a negative voltage supply V_(SS). Lead 111 is connected to a positive voltage supply V_(DD) as shown.

In order to minimize the inherent offset voltage of the operational amplifier, the threshold voltage and current/voltage characteristics of transistors 114a and 114b of the noninverting leg are preferably closely matched to the threshold voltage and the current/voltage characteristics of inverting input transistors 115a and 115b. As is well known, the threshold voltage and the current/voltage characteristics of MOS transistors are dependent on dopant levels and types, and the physical dimensions of the MOS transistors such as channel length and width and gate dielectric thickness. By careful control of the dimensions of the masks used to fabricate the operational amplifier in integrated circuit form and equally careful control of the fabrication processes, the transistors 114a, 114b, 115a and 115b can be fabricated to be substantially matched and balanced. Of course, transistors 114a and 114b may be formed as a single transistor having characteristics closely matched to the characteristics of the combination of transistors 115a and 115b but generally these transistors are more easily formed as a pair.

The operation of the circuit of FIG. 2 is as follows. The offset voltage, V_(off), of the operational amplifier 110 is obtained, and provided to inverting input lead 117b. The offset voltage may be obtained by placing the operational amplifier 110 in the unity gain mode by connecting inverting input lead 117b to output lead 125, and connecting inverting input lead 117a to noninverting input lead 116. The result will be the offset voltage, V_(off), of operational amplifier 110 being present on output lead 125. This offset voltage may then be stored in a sample and hold circuit of well known design, or simply stored on a storage capacitor, as described in the aforementioned U.S. patent application Ser. No. 185,356. When the operational amplifier 110 is taken out of the unity gain mode of operation, the offset voltage obtained in this manner is permanently applied to inverting input lead 117b.

In operation, the offset voltage V_(off) applied to inverting input lead 117b provides a constant bias to transistor 115b, thus providing a relatively constant current flow through transistor 115b. This current flow through the inverting input leg provides compensation for the inherent component mismatches of operational amplifier 110 which cause the offset voltage V_(off) in the first place. In this manner, when the input voltages applied to inverting input lead 117a and noninverting input lead 116 are exactly equal, the sum of the currents through transistor 115a, and transistor 115b (due to the application of V_(off) on lead 117b) will exactly equal the sum of the currents flowing through transistors 114a and 114b, thus providing an output voltage on output lead 125 which is free from the effects of the inherent offset voltage V_(off) of the operational amplifier. Similarly, during periods of operation when the input voltages applied to inverting input lead 117a and noninverting input lead 116 are not equal, the current flow through transistor 115b due to the application of V_(off) on inverting input lead 117b will provide compensation for the inherent component mismatches of operational amplifier 110, thus providing an output voltage on output lead 125 which is free from the effects of the inherent offset voltage of operational amplifier 110.

An operational amplifier may be constructed in accordance with this invention having a plurality of inverting input leads and plurality of noninverting input leads. When the operational amplifier is operating such that its output voltage is not saturated, the output voltage of the operational amplifier of this invention will be: ##EQU1## where: V_(out) =the output voltage of the operational amplifier;

j=the number of noninverting input leads of the operational amplifier;

k=the number of inverting input leads of the operational amplifier; and

V_(noni) =the input voltage applied to the ith noninverting input lead of the operational amplifier;

V_(invi) =the input voltage applied to the ith inverting input lead of the operational amplifier;

V_(off) =the inherent offset voltage of the operational amplifier.

As one example of the use of this invention, a voltage reference circuit utilizing the operational amplifier of this invention is shown in FIG. 3. A prior art voltage reference circuit utilizing a prior art, two input terminal operational amplifier in a configuration similar to the circuit shown in FIG. 3 is described by Bingham, "CMOS: Higher speeds, more drive and analog capability expand its horizons", Electronic Design 23, Nov. 8, 1978, which is hereby incorporated by reference and in particular Bingham's FIG. 7 on page 81. Unlike the voltage reference circuit of FIG. 3, which comprises the unique three input terminal operational amplifier of this invention, the Bingham circuit does not provide a means for eliminating the effects of the inherent offset voltage of the operational amplifier.

Referring to FIG. 3, operational amplifier 110 comprises noninverting input lead 116 and inverting input lead 117a for receiving nonsampled input voltages, and inverting input lead 117b for the purpose of eliminating the effects of the inherent offset voltage of operational amplifier 110. In operation, first switches 111 and 112 are closed, and switch 88 opened. This places the operational amplifier 110 in the unity gain mode with the differential voltage between leads 116 and 117a equal to zero (i.e. both leads 116 and 117a are connected to node 99, which has a potential of V_(B)) and inverting input lead 117b connected to output node 125, thus forcing the voltage on node 125 to V_(B) +V_(off), where V_(off) is the inherent offset voltage of operational amplifier 110. A charge sufficient to procude the voltage V_(B) +V_(off) is thus stored on capacitor 134 connected between inverting input lead 117b and ground. Switches 111 and 112 are then opened, and switch 88 closed. This allows voltage V_(B) available on node 99 to be connected to noninverting input lead 116, voltage V_(A) available on node 98 to be connected to inverting input lead 117a, and voltage stored on capacitor 134 (V_(B) +V_(off)) to be applied to inverting input lead 117b.

Lead 148 is connected to a positive supply voltage V_(DD). Transistors 149 and 150 act as constant current sources, with their collectors connected to V_(DD) and their bases connected to a bias voltage V_(BB) applied to lead 146. The base-emitter voltages of transistors 149 and 150 are substantially constant. Resistors 155 and 156 and MOS transistor 159 form a voltage divider providing a reference voltage v_(B) on node 99. Resistor 157 provides an impedance between transistors 149 and 158, although resistor 157 need not be used. Reference voltage V_(B) is applied to the noninverting input lead 116 of operational amplifier 110 and reference voltage V_(A) (from lead 98) is applied to inverting input lead 117a of operational amplifier 110. The output voltage of operational amplifier 110 is applied to the gates of transistors 158 and 159, thus providing feedback. V_(A) remains relatively constant at (V_(BB) -V_(BE)), where V_(BE) is the base-emitter voltage of transistor 149. If V_(A) is greater than V_(B), the output voltage from operational amplifier 110 is decreased thus decreasing the current flow through transistors 158 and 159, which increases the voltage on node 99 (V_(B)) toward V_(BB), thus forcing V_(A) to equal V_(B). Similarly, if V_(A) is less than V_(B), the output voltage from operational amplifier 110 is increased, thus increasing the current flow through transistors 158 and 159, which decreases the voltage on node 99 (V_(B)) thus forcing V_(A) to equal V_(B). When V_(A) is equal to V_(B), the output voltage from operational amplifier 110 remains constant, thus preventing any change in the biasing of transistors 158 and 159, thus maintaining constant current flow through transistors 158 and 159, thus assuring an unchanging v_(A) which is equal to V_(B).

In contrast, prior art voltage reference circuits of this type utilize prior art (i.e., two input lead) operational amplifiers for feedback. Thus in prior art circuits of this type, an inverting input lead such as lead 117b, capacitor 134, and switches 88, 111, and 112, are not utilized and thus the effects of the inherent offset voltage of the operational amplifier are not eliminated, and the reference voltages stablize at V_(A) =V_(B) +V_(off). In such prior art circuits, when V_(A) =V_(B) +V_(off) the operational amplifier behaves as though there is no voltage differential between its inverting and noninverting inputs, thus providing a stabilized circuit. However, because V_(off) is not the same magnitude in a plurality of operational amplifiers, the values of V_(A) will vary between voltage reference circuits utilizing prior art operational amplifiers, as will the values of V_(B). Furthermore, V_(off) varies with temperature, thus in voltage reference circuits utilizing prior art operational amplifiers, V_(A) and V_(B) will also vary with temperature.

Thus, utilizing the operational amplifier of this invention, the inherent offset voltage of the operational amplifier may be eliminated from the output voltage and the reference voltages may be made equal in a plurality of circuits, regardless of temperature variations. The use of the operational amplifier of this invention provides free use of one noninverting input lead and one inverting input lead for receiving two nonsampled input voltages to be amplified or compared. This structure overcomes the disadvantages in prior art operational amplifiers wherein methods used to eliminate the effects of the inherent offset voltage V_(off) of the operational amplifier result in the requirement that the input voltage applied to the noninverting input lead of the operational amplifier be first sampled and stored in a capacitor. In a similar fashion, additional noninverting input leads and inverting input leads may be added to the operational amplifier of this invention, thus providing a plurality of noninverting input leads and a plurality of inverting input leads, for the reception of a plurality of voltages to be amplified or compared. 

I claim:
 1. An operational amplifier structure comprising:a first and a second power supply terminal; a plurality of K inverting input leads, where K is a positive integer; a noninverting input leg including a first load device having a first lead, and having a second lead connected to said first power supply terminal; an inverting input leg including a second load device having a first lead, and having a second lead connected to said first power supply terminal; J noninverting input leads, where J is a positive integer such that J+K is greater than or equal to three; a plurality of K inverting input transistors, each having a drain connected to said first lead of said first load device, a source, and a gate connected to a unique one of said K noninverting input leads; J noninverting input transistors, each having a drain connected to said first lead of said second load device, a source, and a gate connected to a unique one of said J noninverting input leads; a singular constant current source having a first lead connected to said second power supply terminal and a second lead connected in common to each of said sources of said K noninverting input transistors and to said sources of said J noninverting input transistors; and an output lead.
 2. Structure as in claim 1 including means for eliminating the effects of the inherent offset voltage of said operational amplifier comprising:means for connecting all of said J noninverting input leads and all but a selected one of said K inverting input leads to a single voltage during an initialization period; a capacitor having a first plate connected to said selected inverting input lead and a second plate connected to a reference voltage; and means for connecting said selected inverting input lead to said output lead during said initialization period, thereby producing said inherent offset voltage which is stored in said capacitor during said initialization period and is applied to said selected inverting input lead after said initialization period; whereby the effect of said inherent offset voltage on said output voltage is eliminated.
 3. Structure as in claim 1 wherein the electrical characteristics of each of said inverting input transistors and said noninverting input transistors are substantially identical.
 4. Structure as in claim 1 wherein said constant current source comprises a transistor having a drain serving as said first lead, a source serving as said second lead, and a gate connected to a bias voltage.
 5. Structure as in claim 1, wherein all of said transistors in said operational amplifier are MOS transistors.
 6. Structure as in claim 1 wherein the output voltage of the operational amplifier is defined as: ##EQU2## where: V_(out) =the output voltage of the operational amplifier;j=the number of noninverting input leads of the operational amplifier; k=the number of inverting input leads of the operational amplifier; and V_(noni) =the input voltage applied to the ith noninverting input lead of the operational amplifier; V_(invi) =the input voltage applied to the ith inverging input lead of the operational amplifier; V_(off) =the inherent offset voltage of the operational amplifier.
 7. Structure as in claim 6 including means for eliminating the effects of the inherent offset voltage V_(off) of said operational amplifier comprising:means for connecting all of said J noninverting input leads and all but a selected one of said K inverting input leads to a single voltage during an initialization period; a capacitor connected between said selected inverting input lead and ground; and means for connecting said selected inverting input lead to said output lead during said initialization period, thereby producing said inherent offset voltage which is stored in said capacitor during said initialization period and is applied to said selected inverting input lead after said initialization period; whereby the effect of said inherent offset voltage on said output voltage is eliminated.
 8. Structure as in claim 7 wherein j=1 and k=2. 